/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfoexam.entity.CampusinfoTrainType;
import com.lczyfz.campusinfo.modules.campusinfoexam.dao.CampusinfoTrainTypeDao;

/**
 * 证照培训业务Service
 * @author zms
 * @version 2018-04-15
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoTrainTypeService extends CrudService<CampusinfoTrainTypeDao, CampusinfoTrainType> {

	public CampusinfoTrainType get(String id) {
		return super.get(id);
	}
	
	public List<CampusinfoTrainType> findList(CampusinfoTrainType campusinfoTrainType) {
		return super.findList(campusinfoTrainType);
	}
	
	public Page<CampusinfoTrainType> findPage(Page<CampusinfoTrainType> page, CampusinfoTrainType campusinfoTrainType) {
		return super.findPage(page, campusinfoTrainType);
	}
	
	@Transactional(readOnly = false)
	public void save(CampusinfoTrainType campusinfoTrainType) {
		super.save(campusinfoTrainType);
	}
	
	@Transactional(readOnly = false)
	public void delete(CampusinfoTrainType campusinfoTrainType) {
		super.delete(campusinfoTrainType);
	}
	
}